/********************************************************************************
** Form generated from reading UI file 'QNoteViewWindow.ui'
**
** Created: Fri Sep 3 09:08:29 2010
**      by: Qt User Interface Compiler version 4.7.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_QNOTEVIEWWINDOW_H
#define UI_QNOTEVIEWWINDOW_H

#include <QtCore/QVariant>
#include <MAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QGraphicsGridLayout>
#include <QtGui/QHeaderView>
#include <MLabel>
#include <MApplicationPage>
#include <QtGui/QMenuBar>
#include <QtGui/QScrollArea>
#include <MWidget>
#include <QtWebKit/QGraphicsWebView>
#include "MClickableImage.h"
#include "QClickableGraphicsWebView.h"

QT_BEGIN_NAMESPACE

class Ui_QNoteViewWindowClass
{
public:
    MWidget *centralwidget;
    QGraphicsGridLayout *gridLayout;
    MClickableImage *lFavorite;
    MLabel *lNoteTitle;
    MLabel *lNotebookName;
    MImageWidget *lTagIcon;
    MLabel *lNoteTags;
    QClickableGraphicsWebView *wvNoteView;

    void setupUi(MApplicationPage *QNoteViewWindowClass)
    {
        if (QNoteViewWindowClass->objectName().isEmpty())
            QNoteViewWindowClass->setObjectName(QString::fromUtf8("QNoteViewWindowClass"));

        QNoteViewWindowClass->setPannable(true);
        QNoteViewWindowClass->setPanningDirection(Qt::Horizontal|Qt::Vertical);
        centralwidget = new MWidget(QNoteViewWindowClass);
        centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
        gridLayout = new QGraphicsGridLayout(centralwidget);
        //gridLayout->setSpacing(0);
        //gridLayout->setContentsMargins(0, 0, 0, 0);
        lFavorite = new MClickableImage(centralwidget);
        lFavorite->setObjectName(QString::fromUtf8("lFavorite"));
        //lFavorite->setMaximumSize(QSize(48, 48));
        lFavorite->setPixmap(QPixmap(QString::fromUtf8(":/IconAdd/Star-empty-48.png")));
        lFavorite->setProperty("isFavorite", QVariant(false));
        lFavorite->setSizePolicy(QSizePolicy::Maximum, QSizePolicy::Maximum);
        gridLayout->addItem(lFavorite, 0, 0);

        lNoteTitle = new MLabel(centralwidget);
        lNoteTitle->setObjectName(QString::fromUtf8("lNoteTitle"));
        QFont font;
        font.setFamily(QString::fromUtf8("Nokia Sans"));
        font.setPointSize(26);
        lNoteTitle->setFont(font);
        gridLayout->addItem(lNoteTitle, 0, 1);

        lNotebookName = new MLabel(centralwidget);
        lNotebookName->setObjectName(QString::fromUtf8("lNotebookName"));
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Minimum);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(lNotebookName->sizePolicy().hasHeightForWidth());
        lNotebookName->setSizePolicy(sizePolicy);
        QFont font1;
        font1.setFamily(QString::fromUtf8("Nokia Sans"));
        font1.setPointSize(14);
        font1.setItalic(true);
        lNotebookName->setFont(font1);
        //lNotebookName->setIndent(8);

        gridLayout->addItem(lNotebookName, 1, 1);

        lTagIcon = new MImageWidget(centralwidget);
        lTagIcon->setObjectName(QString::fromUtf8("lTagIcon"));
        //lTagIcon->setMaximumSize(QSize(32, 32));
        lTagIcon->setPixmap(QPixmap(QString::fromUtf8(":/IconAdd/Tag-32.png")));
        lTagIcon->setSizePolicy(QSizePolicy::Maximum, QSizePolicy::Maximum);

        gridLayout->addItem(lTagIcon, 2, 0, Qt::AlignRight);

        lNoteTags = new MLabel(centralwidget);
        lNoteTags->setObjectName(QString::fromUtf8("lNoteTags"));
        QFont font2;
        font2.setFamily(QString::fromUtf8("Nokia Sans"));
        font2.setPointSize(13);
        lNoteTags->setFont(font2);

        gridLayout->addItem(lNoteTags, 2, 1);

        wvNoteView = new QClickableGraphicsWebView(centralwidget);
        wvNoteView->setObjectName(QString::fromUtf8("wvNoteView"));
        QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Maximum);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(wvNoteView->sizePolicy().hasHeightForWidth());
        wvNoteView->setSizePolicy(sizePolicy1);
        wvNoteView->setUrl(QUrl("about:blank"));
        wvNoteView->setResizesToContents(true);
        gridLayout->addItem(wvNoteView, 3, 0, 1, 2);
        QNoteViewWindowClass->setCentralWidget(centralwidget);

        retranslateUi(QNoteViewWindowClass);

        QMetaObject::connectSlotsByName(QNoteViewWindowClass);
    } // setupUi

    void retranslateUi(MApplicationPage *QNoteViewWindowClass)
    {
        QNoteViewWindowClass->setTitle(QApplication::translate("QNoteViewWindowClass", "View note", 0, QApplication::UnicodeUTF8));
        lNoteTitle->setText(QApplication::translate("QNoteViewWindowClass", "Title", 0, QApplication::UnicodeUTF8));
        lNotebookName->setText(QApplication::translate("QNoteViewWindowClass", "In: notebook name", 0, QApplication::UnicodeUTF8));
        lNoteTags->setText(QApplication::translate("QNoteViewWindowClass", "Tags", 0, QApplication::UnicodeUTF8));
    } // retranslateUi

};

namespace Ui {
    class QNoteViewWindowClass: public Ui_QNoteViewWindowClass {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_QNOTEVIEWWINDOW_H
